Location based services

ABSTRACT

Methods, systems, and apparatus, including computer program products, for location-based services. An event or device condition is detected at a device. A current geographic location of a device is determined. Location-based information based on the determined current geographic location is received. The location-based information includes information relevant to the event or device condition. The information is presented.

RELATED APPLICATIONS

This application is a continuation of U.S. application Ser. No. 12/036,978, filed Feb. 25, 2008, which claims priority benefit of U.S. Provisional Application No. 60/946,952, filed Jun. 28, 2007, all of which are incorporated by reference herein in their entirety.

BACKGROUND

This specification relates generally to mobile devices.

Conventional mobile devices are often dedicated to performing a specific application. For example, a mobile phone provides telephony services; a personal digital assistant (PDA) provides a way to organize address, contacts and notes; a media player plays content; email devices provide email communication, etc. Modern mobile devices can include two or more of these applications. Typically, the two or more applications operate independent of one another. For example, some mobile devices include a digital camera and access to various services available on the World Wide Web (Web). Such devices, however, fail to integrate digital camera functions with network services to provide the user with an enriched user experience.

SUMMARY

In general, one aspect of the subject matter described in this specification can be embodied in methods that include the actions of detecting a picture taking event on a device; determining a current geographic location of the device; receiving location-based information based on the determined current geographic location, the location-based information including information corresponding to one or more relevant businesses in a vicinity of the determined current geographic location and further including information corresponding to one or more businesses ancillary to the picture taking event; and presenting the location-based information. Other implementations can include corresponding systems, apparatus, devices, and computer program products.

In general, another aspect of the subject matter described in this specification can be embodied in methods that include the actions of detecting an event or device condition at a device; determining a current geographic location of the device; receiving location-based information based on the determined current geographic location, the location-based information including information relevant to the event or device condition; and presenting the information. Other implementations can include corresponding systems, apparatus, devices, and computer program products.

In general, another aspect of the subject matter described in this specification can be embodied in methods that include the actions of detecting an event or device condition at a device; determining a current geographic location of the device; receiving location-based information based on the determined current geographic location, the location-based information including information corresponding to one or more relevant businesses in a vicinity of the determined current geographic location, a relevant business being related to the event or device condition; and presenting the information. Other implementations can include corresponding systems, apparatus, devices, and computer program products.

Particular embodiments of the subject matter described in this specification can be implemented to realize one or more of the following advantages. Location information (e.g., local businesses) relevant to an event, device condition, or activities associated with particular times of the day is automatically retrieved and presented to a user of the device.

The details of one or more implementations of the subject matter described in this specification are set forth in the accompanying drawings and the description below. Other features, aspects, and advantages of the subject matter will become apparent from the description, the drawings, and the claims.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a block diagram of an example mobile device.

FIG. 2 is a block diagram of an example network operating environment for the mobile device of FIG. 1.

FIG. 3 is a block diagram of an example implementation of the mobile device of FIG. 1.

FIGS. 4A-4C are schematic representations of a map including push pins.

FIG. 5 is a flow diagram illustrating an example process for presenting location information related to an event on a device.

FIG. 6 is a flow diagram illustrating another example process for presenting location information related to an event on a device.

Like reference numbers and designations in the various drawings indicate like elements.

DETAILED DESCRIPTION

FIG. 1 is a block diagram of an example mobile device 100. The mobile device 100 can be, for example, a handheld computer, a personal digital assistant, a cellular telephone, a network appliance, a camera, a smart phone, an enhanced general packet radio service (EGPRS) mobile phone, a network base station, a media player, a navigation device, an email device, a game console, or other electronic device or a combination of any two or more of these data processing devices or other data processing devices.

Mobile Device Overview

In some implementations, the mobile device 100 includes a touch-sensitive display 102. The touch-sensitive display 102 can implement liquid crystal display (LCD) technology, light emitting polymer display (LPD) technology, or some other display technology. The touch-sensitive display 102 can be sensitive to haptic and/or tactile contact with a user.

In some implementations, the touch-sensitive display 102 can comprise a multi-touch-sensitive display 102. A multi-touch-sensitive display 102 can, for example, process multiple simultaneous touch points, including processing data related to the pressure, degree and/or position of each touch point. Such processing facilitates gestures and interactions with multiple fingers, chording, and other interactions. Other touch-sensitive display technologies can also be used, e.g., a display in which contact is made using a stylus or other pointing device. An example of a multi-touch-sensitive display technology is described in U.S. Pat. Nos. 6,323,846; 6,570,557; 6,677,932; and U.S. Patent Publication No. 2002/0015024A1, each of which is incorporated by reference herein in its entirety.

In some implementations, the mobile device 100 can display one or more graphical user interfaces on the touch-sensitive display 102 for providing the user access to various system objects and for conveying information to the user. In some implementations, the graphical user interface can include one or more display objects 104, 106. Each of the display objects 104, 106 can be a graphic representation of a system object. Some examples of system objects include device functions, applications, windows, files, alerts, events, or other identifiable system objects.

Example Mobile Device Functionality

In some implementations, the mobile device 100 can implement multiple device functionalities, such as a telephony device, as indicated by a phone object 110; an e-mail device, as indicated by the e-mail object 112; a network data communication device, as indicated by the Web object 114; a Wi-Fi base station device (not shown); and a media processing device, as indicated by the media player object 116. In some implementations, particular device objects 104, e.g., the phone object 110, the e-mail object 112, the Web object 114, and the media player object 116, can be displayed in a menu bar 118. In some implementations, each of the device functionalities can be accessed from a top-level graphical user interface, such as the graphical user interface illustrated in FIG. 1. Touching one of the objects 110, 112, 114 or 116 can, for example, invoke the corresponding functionality.

In some implementations, the mobile device 100 can implement network distribution functionality. For example, the functionality can enable the user to take the mobile device 100 and its associated network while traveling. In particular, the mobile device 100 can extend Internet access (e.g., via Wi-Fi) to other wireless devices in the vicinity. For example, mobile device 100 can be configured as a base station for one or more devices. As such, mobile device 100 can grant or deny network access to other wireless devices.

In some implementations, upon invocation of particular device functionality, the graphical user interface of the mobile device 100 changes, or is augmented or replaced with another user interface or user interface elements, to facilitate user access to particular functions associated with the corresponding device functionality. For example, in response to a user touching the phone object 110, the graphical user interface of the touch-sensitive display 102 may present display objects related to various phone functions; likewise, touching of the email object 112 may cause the graphical user interface to present display objects related to various e-mail functions; touching the Web object 114 may cause the graphical user interface to present display objects related to various Web-surfing functions; and touching the media player object 116 may cause the graphical user interface to present display objects related to various media processing functions.

In some implementations, the top-level graphical user interface environment or state of FIG. 1 can be restored by pressing a button 120 located near the bottom of the mobile device 100. In some implementations, each corresponding device functionality may have corresponding “home” display objects displayed on the touch-sensitive display 102, and the graphical user interface environment of FIG. 1 can be restored by pressing the “home” display object.

In some implementations, the top-level graphical user interface can include additional display objects 106, such as a short messaging service (SMS) object 130, a calendar object 132, a photos object 134, a camera object 136, a calculator object 138, a stocks object 140, a weather object 142, a maps object 144, a notes object 146, a clock object 148, an address book object 150, and a settings object 152. Touching the SMS display object 130 can, for example, invoke an SMS messaging environment and supporting functionality. Likewise, each selection of a display object 132, 134, 136, 138, 140, 142, 144, 146, 148, 150 and 152 can invoke a corresponding object environment and functionality.

Additional and/or different display objects can also be displayed in the graphical user interface of FIG. 1. For example, if the device 100 is functioning as a base station for other devices, one or more “connection” objects may appear in the graphical user interface to indicate the connection. In some implementations, the display objects 106 can be configured by a user, e.g., a user may specify which display objects 106 are displayed, and/or may download additional applications or other software that provides other functionalities and corresponding display objects.

In some implementations, the mobile device 100 can include one or more input/output (I/O) devices and/or sensor devices. For example, a speaker 160 and a microphone 162 can be included to facilitate voice-enabled functionalities, such as phone and voice mail functions. In some implementations, a loud speaker 164 can be included to facilitate hands-free voice functionalities, such as speaker phone functions. An audio jack 166 can also be included for use of headphones and/or a microphone.

In some implementations, a proximity sensor 168 can be included to facilitate the detection of the user positioning the mobile device 100 proximate to the user's ear and, in response, to disengage the touch-sensitive display 102 to prevent accidental function invocations. In some implementations, the touch-sensitive display 102 can be turned off to conserve additional power when the mobile device 100 is proximate to the user's ear.

Other sensors can also be used. For example, in some implementations, an ambient light sensor 170 can be utilized to facilitate adjusting the brightness of the touch-sensitive display 102. In some implementations, an accelerometer 172 can be utilized to detect movement of the mobile device 100, as indicated by the directional arrow 174. Accordingly, display objects and/or media can be presented according to a detected orientation, e.g., portrait or landscape. In some implementations, the mobile device 100 may include circuitry and sensors for supporting a location determining capability, such as that provided by the global positioning system (GPS) or other positioning system (e.g., systems using Wi-Fi access points, television signals, cellular grids, Uniform Resource Locators (URLs)). In some implementations, a positioning system (e.g., a GPS receiver) can be integrated into the mobile device 100 or provided as a separate device that can be coupled to the mobile device 100 through an interface (e.g., port device 190) to provide access to location-based services.

The mobile device 100 can also include a camera lens and sensor 180. In some implementations, the camera lens and sensor 180 can be located on the back surface of the mobile device 100. The camera can capture still images and/or video.

The mobile device 100 can also include one or more wireless communication subsystems, such as a 802.11b/g communication device 186, and/or a Bluetooth™ communication device 188. Other communication protocols can also be supported, including other 802.x communication protocols (e.g., WiMax, Wi-Fi), code division multiple access (CDMA), global system for mobile communications (GSM), Enhanced Data GSM Environment (EDGE), 3G (e.g., EV-DO, UMTS, HSDPA), etc.

In some implementations, a port device 190, e.g., a Universal Serial Bus (USB) port, or a docking port, or some other wired port connection, can be included. The port device 190 can, for example, be utilized to establish a wired connection to other computing devices, such as other communication devices 100, a personal computer, a printer, or other processing devices capable of receiving and/or transmitting data. In some implementations, the port device 190 allows the mobile device 100 to synchronize with a host device using one or more protocols.

Network Operating Environment

FIG. 2 is a block diagram of an example network operating environment 200 for the mobile device 100 of FIG. 1. The mobile device 100 of FIG. 1 can, for example, communicate over one or more wired and/or wireless networks 210 in data communication. For example, a wireless network 212, e.g., a cellular network, can communicate with a wide area network (WAN) 214, such as the Internet, by use of a gateway 216. Likewise, an access point 218, such as an 802.11g wireless access point, can provide communication access to the wide area network 214. In some implementations, both voice and data communications can be established over the wireless network 212 and the access point 218. For example, the mobile device 100 a can place and receive phone calls (e.g., using VoIP protocols), send and receive e-mail messages (e.g., using POP3 protocol), and retrieve electronic documents and/or streams, such as web pages, photographs, and videos, over the wireless network 212, gateway 216, and wide area network 214 (e.g., using TCP/IP or UDP protocols). Likewise, the mobile device 100 b can place and receive phone calls, send and receive e-mail messages, and retrieve electronic documents over the access point 218 and the wide area network 214. In some implementations, the mobile device 100 can be physically connected to the access point 218 using one or more cables and the access point 218 can be a personal computer. In this configuration, the mobile device 100 can be referred to as a “tethered” device.

The mobile devices 100 a and 100 b can also establish communications by other means. For example, the wireless device 100 a can communicate with other wireless devices, e.g., other wireless devices 100, cell phones, etc., over the wireless network 212. Likewise, the mobile devices 100 a and 100 b can establish peer-to-peer communications 220, e.g., a personal area network, by use of one or more communication subsystems, such as the Bluetooth™ communication device 188 shown in FIG. 1. Other communication protocols and topologies can also be implemented.

The mobile device 100 can, for example, communicate with one or more services 230, 240, 250, 255, and 260 and/or one or more content publishers 270 over the one or more wired and/or wireless networks 210. For example, a navigation service 230 can provide navigation information, e.g., map information, location information, route information, and other information, to the mobile device 100. In the example shown, a user of the mobile device 100 b has invoked a map functionality, e.g., by touching the maps object 144 on the top-level graphical user interface shown in FIG. 1, and has requested and received a map for the location “1 Infinite Loop, Cupertino, Calif.”

A messaging service 240 can, for example, provide e-mail and/or other messaging services. A media service 250 can, for example, provide access to media files, such as song files, movie files, video clips, and other media data. A location-based service 255 can, for example, provide data or content based on a current location of the mobile device 100. One or more other services 260 can also be utilized by the mobile device 100, including a syncing service, an activation service and a software update service that automatically determines whether software updates are available for software on the mobile device 100, then downloads the software updates to the mobile device 100 where the updates can be manually or automatically unpacked and/or installed.

The mobile device 100 can also access other data over the one or more wired and/or wireless networks 210. For example, content publishers 270, such as news sites, RSS feeds, web sites, blogs, social networking sites, developer networks, etc., can be accessed by the mobile device 100. Such access can be provided by invocation of a web browsing function or application (e.g., a browser) in response to a user touching the Web object 114.

Example Device Architecture

FIG. 3 is a block diagram 300 of an example implementation of the mobile device 100 of FIG. 1. The mobile device 100 can include a memory interface 302 one or more data processors, image processors and/or central processing units 304, and a peripherals interface 306. The memory interface 302, the one or more processors 304 and/or the peripherals interface 306 can be separate components or can be integrated in one or more integrated circuits. The various components in the mobile device 100 can be coupled by one or more communication buses or signal lines.

Sensors, devices and subsystems can be coupled to the peripherals interface 306 to facilitate multiple functionalities. For example, a motion sensor 310, a light sensor 312, and a proximity sensor 314 can be coupled to the peripherals interface 306 to facilitate the orientation, lighting and proximity functions described with respect to FIG. 1. Other sensors 316 can also be connected to the peripherals interface 306, such as a GPS receiver, a temperature sensor, a biometric sensor, or other sensing device, to facilitate related functionalities.

A camera subsystem 320 and an optical sensor 322, e.g., a charged coupled device (CCD) or a complementary metal-oxide semiconductor (CMOS) optical sensor, can be utilized to facilitate camera functions, such as recording photographs and video clips.

Communication functions can be facilitated through one or more wireless communication subsystems 324, which can include radio frequency receivers and transmitters and/or optical (e.g., infrared) receivers and transmitters. The specific design and implementation of the communication subsystem 324 can depend on the communication network(s) over which the mobile device 100 is intended to operate. For example, a mobile device 100 may include communication subsystems 324 designed to operate over a GSM network, a GPRS network, an EDGE network, a 3G network, a Wi-Fi or WiMax network, and a Bluetooth™ network. In particular, the wireless communication subsystems 324 may include hosting protocols such that the device 100 may be configured as a base station for other wireless devices.

An audio subsystem 326 can be coupled to a speaker 328 and a microphone 330 to facilitate voice-enabled functions, such as voice recognition, voice replication, digital recording, and telephony functions.

The I/O subsystem 340 can include a touch screen controller 342 and/or other input controller(s) 344. The touch-screen controller 342 can be coupled to a touch screen 346. The touch screen 346 and touch screen controller 342 can, for example, detect contact and movement or break thereof using any of a plurality of touch sensitivity technologies, including but not limited to capacitive, resistive, infrared, and surface acoustic wave technologies, as well as other proximity sensor arrays or other elements for determining one or more points of contact with the touch screen 346.

The other input controller(s) 344 can be coupled to other input/control devices 348, such as one or more buttons, rocker switches, thumb-wheel, infrared port, USB port, and/or a pointer device such as a stylus. The one or more buttons (not shown) can include an up/down button for volume control of the speaker 328 and/or the microphone 330.

In one implementation, a pressing of the button for a first duration may disengage a lock of the touch screen 346; and a pressing of the button for a second duration that is longer than the first duration may turn power to the mobile device 100 on or off. The user may be able to customize a functionality of one or more of the buttons. The touch screen 346 can, for example, also be used to implement virtual or soft buttons and/or a keyboard.

In some implementations, the mobile device 100 can present recorded audio and/or video files, such as MP3, AAC, and MPEG files. In some implementations, the mobile device 100 can include the functionality of an MP3 player, such as an iPod™. The mobile device 100 may, therefore, include a 36-pin connector that is compatible with the iPod. Other input/output and control devices can also be used.

The memory interface 302 can be coupled to memory 350. The memory 350 can include high-speed random access memory and/or non-volatile memory, such as one or more magnetic disk storage devices, one or more optical storage devices, and/or flash memory (e.g., NAND, NOR). The memory 350 can store an operating system 352, such as Darwin, RTXC, LINUX, UNIX, OS X, WINDOWS, or an embedded operating system such as VxWorks. The operating system 352 may include instructions for handling basic system services and for performing hardware dependent tasks. In some implementations, the operating system 352 handles timekeeping tasks, including maintaining the date and time (e.g., a clock) on the mobile device 100. In some implementations, the operating system 352 can be a kernel (e.g., UNIX kernel).

The memory 350 may also store communication instructions 354 to facilitate communicating with one or more additional devices, one or more computers and/or one or more servers. The memory 350 may include graphical user interface instructions 356 to facilitate graphic user interface processing; sensor processing instructions 358 to facilitate sensor-related processing and functions; phone instructions 360 to facilitate phone-related processes and functions; electronic messaging instructions 362 to facilitate electronic-messaging related processes and functions; web browsing instructions 364 to facilitate web browsing-related processes and functions; media processing instructions 366 to facilitate media processing-related processes and functions; GPS/Navigation instructions 368 to facilitate GPS and navigation-related processes and instructions; camera instructions 370 to facilitate camera-related processes and functions; other software instructions 372 to facilitate other related processes and functions; and/or diagnostic instructions 374 to facilitate diagnostic processes and functions.

The memory 350 can also store data, including but not limited to documents, images, video files, audio files, and other data.

In some implementations, the mobile device 100 includes a positioning system 318. In various implementations, the positioning system 318 can be provided by a separate device coupled to the mobile device 100, or can be provided internal to the mobile device. In some implementations, the positioning system 318 can employ positioning technology including a GPS, a cellular grid, URIs or any other technology for determining the geographic location of a device. In some implementations, the positioning system 318 can employ a service provided by a positioning service such as, for example, SkyHook Wireless of Boston, Mass., or Rosum Corporation of Mountain View, Calif. In other implementations, the positioning system 318 can be provided by an accelerometer and a compass using dead reckoning techniques. In such implementations, the user can occasionally reset the positioning system by marking the mobile device's presence at a known location (e.g., a landmark or intersection). In still other implementations, the user can enter a set of position coordinates (e.g., latitude, longitude) for the mobile device. For example, the position coordinates can be typed into the phone (e.g., using a virtual keyboard) or selected by touching a point on a map. Position coordinates can also be acquired from another device (e.g., a car navigation system) by syncing or linking with the other device. In other implementations, the positioning system 318 can be provided by using wireless signal strength and one or more locations of known wireless signal sources to provide the current location. Wireless signal sources can include access points and/or cellular towers. Other techniques to determine a current location of the mobile device 100 can be used and other configurations of the positioning system 318 are possible.

Each of the above identified instructions and applications can correspond to a set of instructions for performing one or more functions described above. These instructions need not be implemented as separate software programs, procedures or modules. The memory 350 can include additional instructions or fewer instructions. Furthermore, various functions of the mobile device 100 may be implemented in hardware and/or in software, including in one or more signal processing and/or application specific integrated circuits.

FIGS. 4A-4B illustrate maps including location markers (e.g., push pins). In this example, a current location of the mobile device 100 (and possibly the user) is represented on a map 400 at reference numeral 402. In this implementation, as the mobile device 100 moves, the previous locations of the mobile device 100 persist on the map 400 and are represented by the line 404 showing the route traveled by the mobile device 100 since the map feature was activated by the user. In some other implementations, the previous locations of the mobile device can be omitted from the map 400, and current location 402 is represented on the map 400 by a graphical object (e.g., a push pin, an icon that resembles the device 100 or a human, etc.).

Graphical objects 406, 408 are displayed on the map representing the locations of businesses (or other items of interest) in the vicinity of the current location of the mobile device 100. In this implementation, the graphical objects 406, 408 appear as push pins that are “pinned” to the map at their corresponding locations. In this example, both push pins 406 and 408 are located along the route 404 traveled by the user. In some implementations, the user can define a setting within the mobile device 100 for the map feature to specify a proximity condition that must be satisfied by a business before a push pin is shown on the map representing the business. For example, the proximity condition can require that the business' location be on the route traveled by the mobile device 100 in order to be displayed on the map 400 as a push pin. In another example, the proximity condition can require that the business' location be within a certain radius of the current location of the mobile device 100 in order to be displayed on the map 400. In yet another example, the proximity condition can require only that the contact's location be within the geographic parameters of the map displayed to the user in order to be displayed on the map 400. In such an example, if the user selects to “zoom out” the map to display a larger geographical area, then multiple other push pins may appear corresponding to locations within the larger geographical area.

The map 400 and the businesses represented by graphical objects 406, 408 can be displayed to the user in response to particular events occurring at the mobile device 100 or a clock on the mobile device reaching a particular time. Triggering events can include activation or deactivation of particular features or functions on the device 100 (e.g., activation of an image capture by the camera subsystem 320, detection of a malfunction of the device 100, a clock on the device 100 reaching a time associated with a particular activity, etc.). Further, the types of businesses that are displayed can be based on the triggering event or condition. For example, businesses offering photo processing services or other camera related services are displayed if the triggering event is the capture of an image on the camera of the device 100. As another example, restaurants can be displayed if the triggering event is a clock of the device 100 reaching a time associated with a meal (e.g., noon for lunch). In some implementations, businesses of different types can be displayed on the same map. For example, the map 400 can display businesses offering photo processing services (e.g., push pin 406 in FIGS. 4B-4C) and restaurants (e.g., push pin 408 in FIGS. 4B-4C) on the same map. Further details are described below in relation to FIGS. 5-6.

Referring now to FIG. 4B, the map 400 displays information 410 corresponding to a photo processing business represented by graphical object 406. In some implementations, the information 410 is displayed in response to a user selection of the graphical object 406 on the map 400. For example, in one implementation where the mobile device 100 includes a touch sensitive display (e.g., touch sensitive display 102 shown in FIG. 1), the user can touch the push pin 406 to display information associated with the business represented by the push pin 406. Similarly, as shown in FIG. 4C, the map 400 displays information 412 corresponding to a restaurant represented by graphical object 408. Information 412 can be displayed in response to a user selection of the graphical object 408 on the map 400.

In some implementations, the displayed information 410, 412 includes, respectively, the name of a business, the address of the business, and a phone number and/or an email address of the business. Further, in some implementations, depending on the type of business represented by the graphical object, the information 410 or 412 can include a hyperlink that facilitates transactions with the business associated with the information 410 or 412. For example, if the business is a photo processing business, the hyperlink may be a link to order prints for pickup from the photo processing business. As another example, the hyperlink can also be associated with a phone number of the business, which when selected causes the telephone number to be automatically dialed. As a further example, the hyperlink can be associated with a coupon associated with the business or other information associated with the business. Selecting the hyperlink triggers a presentation of the coupon or other information. In some implementations, selecting the hyperlink triggers a sending of the coupon or other information (e.g., an advertisement) associated with the business to, for example, an email address of the user of the device.

FIG. 5 illustrates a process 500 for presenting location information related to an event or a condition on a device. For convenience, the process 500 will be described in reference to a device (e.g., mobile device 100) that performs the process 500.

An event or a condition on the device is detected (502). In some implementations, the device 100 can be configured to detect and/or perform operations in response to the occurrence of particular events on the device or the satisfaction of particular conditions on the device.

In some implementations, the detected event is a capture of an image by the camera subsystem 320. For example, when a user of the device 100 takes a picture using the camera subsystem 320 and camera instructions 370, the device 100 detects the taking of the picture and can perform operations, further described below, in response to the taking of the picture. In some implementations, the operations are triggered when at least multiple pictures are taken using the camera subsystem 320 within a time period (e.g., at least two pictures taken within an hour of each other). In some other implementations, other user actions on the device 100 can also be the triggering event.

In some implementations, the detected event is a malfunction of a component or feature of the device 100 or some other problem related to a component of the mobile device 100. For example, the diagnostic instructions 374 can perform a diagnostic test of the device 100 automatically or in response to a user request. Identification of a malfunction of a component or feature of the device 100 triggers further operations as described below. As another example, if the user cannot take a picture because there is no memory available for the camera, then the shortage of memory can be a detected event which could initiate the display of a nearby business selling electronics or camera supplies where the user can purchase additional memory (e.g., a compact flash card).

In some implementations, the detected satisfaction of a condition is the arrival of a time of day that is associated with a particular activity. For example, when the clock arrives at a time associated with a meal (e.g., 12 noon for lunch, 7 PM for dinner), further operations as described below are triggered.

A current geographic location of the device is determined (504). In response to an event or satisfaction of a condition, the mobile device 100 determines its current geographic location. In some implementations, the device 100 determines its current location using GPS or any other positioning system. In some implementations, the current location, as determined using GPS, can be expressed in latitude/longitude. In some implementations, the device 100 can, optionally, convert the latitude/longitude of the current location to an address (e.g., street, city, country) by referencing a database of latitudes/longitudes and locations that is stored in the memory 350, for example.

In some other implementations, the device 100 can obtain its geographic position by other means. For example, a device 100 can obtain its position using cellular phone tower triangulation, Wi-Fi positioning, a combination of GPS and other signals, differential GPS, and any other suitable technologies and techniques.

Location information related to the event or condition can be received based on the determined current geographic location (506). The mobile device 100 can request, from a navigation service 230 or location-based service 255, for example, a map of the vicinity of the determined current location, where the map includes locations of businesses that are in the vicinity of the determined current geographic location and are related to the event or condition.

In some implementations, the device 100 sends a request to the navigation service 230 or location service 255 for a map of the area and relevant businesses in the area. For example, if the event was a taking of one or more pictures by a user using a camera of the mobile device 100, the device 100 can request for, and receive a map of the vicinity of the current geographic location of the device (e.g., map 400) and location information for businesses providing photo processing services in the vicinity, marked on the map by graphical objects (e.g., push pins 406, 408). If the event or condition was a malfunction of the device 100, the device 100 can make a request for, and receive a map of the vicinity of the current geographic location of the device (e.g., map 400) and location information for authorized service/repair providers for the device 100 in the vicinity, marked on the map by graphical objects (e.g., push pins 406, 408). If the event or condition was the arrival of a time of day associated with a meal (e.g., 12 Noon for lunch), the device 100 can request for, and receive a map of the vicinity of the current geographic location of the device (e.g., map 400) and location information for restaurants in the vicinity, marked on the map by graphical objects (e.g., push pins 406, 408).

In some implementations, the user can configure the device 100 to request location information related the current geographic location based on a history of locations to which the device 100 has been located before. That is, the detected condition is that the current geographic location matches a location in the location history. In an example implementation, the device 100 can store a history of locations that the device 100 (and presumably the user) has been to before (e.g., particular landmarks). The device 100 can also store information related to one or more services or businesses, near a previously-visited location, that had been displayed when the device 100 had previously visited that location. If the current geographic location matches a previously-visited location in the location history, the device 100 can make a request for, and receive a map of the vicinity of the current geographic location and location information corresponding to services or businesses, near the location, that were previously displayed for that location.

In some implementations, the user can configure the device 100 to request location information for particular times of the day that are associated with particular activities. For example, the user can specify that 4 PM is associated with afternoon tea and that the device 100 should request location information related to coffee or tea shops when the time on the device 100 is 4 PM.

The location information is presented (508). The received location information, which includes the map and graphical objects corresponding to relevant businesses in the vicinity, are presented to the user (e.g., by displaying the information on the touch screen 346). The user can manipulate the map and select any of the graphical objects to request further information. For example, if the user selects a graphical object 406 on the map 400, information 410 corresponding to the business represented by the graphical object 406 is displayed.

FIG. 6 illustrates an example process 600 for presenting location information related to a picture taking event on a device. For convenience, the process 600 will be described in reference to a device or system (e.g., mobile device 100) that performs the process 600.

A picture taking event on the device is detected (602). For example, a user of the mobile device 100 can take a picture or capture an image using a camera (e.g., camera subsystem 320) of the device. The taking of the picture or the image capture is detected by the mobile device 100.

A current geographic location of the device is determined (604). In response to the picture taking event, the mobile device 100 determines its current geographic location. In some implementations, the device 100 determines its current location using GPS or any other positioning system. In some implementations, the current location, as determined using GPS, can be expressed in latitude/longitude. In some implementations, the device 100 can, optionally, convert the latitude/longitude of the current location to an address (e.g., street, city, country) by referencing a database of latitudes/longitudes and locations that is stored in the memory 350, for example.

In some other implementations, the device 100 can obtain its geographic position by other means. For example, a device 100 can obtain its position using cellular phone tower triangulation, Wi-Fi positioning, a combination of GPS and other signals, differential GPS, and any other suitable technologies and techniques.

In some implementations, a current time and/or date is determined. For example, the device 100 can read the time and date as maintained by the device 100. The determined time and date serves as a time and date of the picture taking event.

Locations of one or more relevant businesses in the vicinity of the determined current location is determined (606). In some implementations, the device 100 sends a request for location-based information to a service (e.g., location-based service 255, navigation service 230). In some implementations, the request for location-based information is a request for information associated with businesses, in the vicinity of the determined current geographic location, that provide photo or image printing/processing services. The service receiving the request determines, from a database of businesses, for example, the locations of photo processing businesses that are in proximity of the determined geographic location of the device 100 and retrieves information related to these businesses, such as their names, addresses, and phone numbers.

The businesses are optionally filtered (608). In some implementations, the photo printing businesses determined in accordance with block 606 can be filtered based on various criteria. In an exemplary implementation, the businesses can be filtered by the navigation or location-based service based on the current time and date or the time of the event determined in accordance with block 604. For example, the businesses information can include hours of operation of the businesses, and businesses whose hours of operation do not overlap with the current time and date can be disregarded (e.g., a photo processing business that is closed on Sunday or after 5 PM is disregarded when the date is a Sunday or the time is 6 PM, respectively). As another example, the businesses can be filtered based on user preferences, such as preferences regarding price. A business can be disregard if its per print price is over the user's per print price preference, for example.

In some implementations, the user preferences are set by the user at the device 100 and stored at the device 100. The user preferences are sent to the navigation or location-based service along with the request for businesses. In some other implementations, the user preferences are stored at the navigation or location-based service.

Ancillary information related to the picture taking event, the current geographic location, and/or the time is determined (610). In some implementations, the ancillary information can include other types of businesses beyond photo printing businesses. These other types of businesses can include businesses that the user of the device can patronize while waiting for photos to be processed by a photo printing business, such as restaurants, post offices, pharmacies, banks, movie theatres, and so forth. The user preferences can specify which types of ancillary businesses to determine in addition to the photo processing businesses. In some implementations, the locations of ancillary businesses can be determined at the same time as the determination of the locations of the photo processing businesses in accordance with block 606.

As an example, if the picture taking event occurred at around 12 noon, the navigation or location-based service can determine locations of one or more photo processing businesses near the current location of the device. Additionally, because 12 noon is associated with lunch time, the navigation or location-based service can determine locations of one or more restaurants near the current location of the device.

Similar to the filtering of photo processing businesses in accordance with block 608, the ancillary businesses can also be filtered by the navigation or location-based service based on hours of operation, price, etc.

A map with the current location and the determined locations of the businesses remaining after the filtering is generated (612). The map (e.g., map 400) is generated by the navigation or location-based service. The map is delivered to the device for display on the device (614). The generated map, including the business locations and the information related to the businesses, is transmitted to the device 100 by the service and is displayed on the touch screen 346.

In some implementations, the filtering described in reference to blocks 608 and 610 can be done at the device 100 instead of the navigation or location-based service. The navigation or location-based service sends the map and all of the determined business locations and the device 100 filters the businesses based on user preferences. The map is displayed at the device 100 with only the business locations that passed the filter.

The disclosed and other embodiments and the functional operations described in this specification can be implemented in digital electronic circuitry, or in computer software, firmware, or hardware, including the structures disclosed in this specification and their structural equivalents, or in combinations of one or more of them. The disclosed and other embodiments can be implemented as one or more computer program products, i.e., one or more modules of computer program instructions encoded on a computer-readable medium for execution by, or to control the operation of, data processing apparatus. The computer-readable medium can be a machine-readable storage device, a machine-readable storage substrate, a memory device, a composition of matter effecting a machine-readable propagated signal, or a combination of one or more them. The term “data processing apparatus” encompasses all apparatus, devices, and machines for processing data, including by way of example a programmable processor, a computer, or multiple processors or computers. The apparatus can include, in addition to hardware, code that creates an execution environment for the computer program in question, e.g., code that constitutes processor firmware, a protocol stack, a database management system, an operating system, or a combination of one or more of them. A propagated signal is an artificially generated signal, e.g., a machine-generated electrical, optical, or electromagnetic signal, that is generated to encode information for transmission to suitable receiver apparatus.

A computer program (also known as a program, software, software application, script, or code) can be written in any form of programming language, including compiled or interpreted languages, and it can be deployed in any form, including as a stand-alone program or as a module, component, subroutine, or other unit suitable for use in a computing environment. A computer program does not necessarily correspond to a file in a file system. A program can be stored in a portion of a file that holds other programs or data (e.g., one or more scripts stored in a markup language document), in a single file dedicated to the program in question, or in multiple coordinated files (e.g., files that store one or more modules, sub-programs, or portions of code). A computer program can be deployed to be executed on one computer or on multiple computers that are located at one site or distributed across multiple sites and interconnected by a communication network.

The processes and logic flows described in this specification can be performed by one or more programmable processors executing one or more computer programs to perform functions by operating on input data and generating output. The processes and logic flows can also be performed by, and apparatus can also be implemented as, special purpose logic circuitry, e.g., an FPGA (field programmable gate array) or an ASIC (application-specific integrated circuit).

Processors suitable for the execution of a computer program include, by way of example, both general and special purpose microprocessors, and any one or more processors of any kind of digital computer. Generally, a processor will receive instructions and data from a read-only memory or a random access memory or both. The essential elements of a computer are a processor for performing instructions and one or more memory devices for storing instructions and data. Generally, a computer will also include, or be operatively coupled to receive data from or transfer data to, or both, one or more mass storage devices for storing data, e.g., magnetic, magneto-optical disks, or optical disks. However, a computer need not have such devices. Computer-readable media suitable for storing computer program instructions and data include all forms of non-volatile memory, media and memory devices, including by way of example semiconductor memory devices, e.g., EPROM, EEPROM, and flash memory devices; magnetic disks, e.g., internal hard disks or removable disks; magneto-optical disks; and CD-ROM and DVD-ROM disks. The processor and the memory can be supplemented by, or incorporated in, special purpose logic circuitry.

To provide for interaction with a user, the disclosed embodiments can be implemented on a computer having a display device, e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor, for displaying information to the user and a keyboard and a pointing device, e.g., a mouse or a trackball, by which the user can provide input to the computer. Other kinds of devices can be used to provide for interaction with a user as well; for example, feedback provided to the user can be any form of sensory feedback, e.g., visual feedback, auditory feedback, or tactile feedback; and input from the user can be received in any form, including acoustic, speech, or tactile input.

The disclosed embodiments can be implemented in a computing system that includes a back-end component, e.g., as a data server, or that includes a middleware component, e.g., an application server, or that includes a front-end component, e.g., a client computer having a graphical user interface or a Web browser through which a user can interact with an implementation of what is disclosed here, or any combination of one or more such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication, e.g., a communication network. Examples of communication networks include a local area network (“LAN”) and a wide area network (“WAN”), e.g., the Internet.

The computing system can include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other.

While this specification contains many specifics, these should not be construed as limitations on the scope of what being claims or of what may be claimed, but rather as descriptions of features specific to particular embodiments. Certain features that are described in this specification in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination. Moreover, although features may be described above as acting in certain combinations and even initially claimed as such, one or more features from a claimed combination can in some cases be excised from the combination, and the claimed combination may be directed to a subcombination or variation of a subcombination.

Similarly, while operations are depicted in the drawings in a particular order, this should not be understand as requiring that such operations be performed in the particular order shown or in sequential order, or that all illustrated operations be performed, to achieve desirable results. In certain circumstances, multitasking and parallel processing may be advantageous. Moreover, the separation of various system components in the embodiments described above should not be understood as requiring such separation in all embodiments, and it should be understood that the described program components and systems can generally be integrated together in a single software product or packaged into multiple software products.

Thus, particular embodiments have been described. Other embodiments are within the scope of the following claims. 

What is claimed is:
 1. A method comprising: determining, by a mobile device, an initial geographic location of the mobile device; determining, by the mobile device, a current geographic location of the mobile device; providing a line for display in a map on the mobile device, the line indicating a route traveled by the mobile device starting from the initial location to the current location; filtering, by the mobile device, information received from a server using a proximity condition, the information being related to a business and a location of the business, the proximity condition specifying that, in order to be displayed, the location of the business be on the route; and providing the filtered information for display along the line.
 2. The method of claim 1, wherein determining the current geographic location and providing the line for display occur while the mobile device moves.
 3. The method of claim 1, comprising providing for display a representation of the businesses in association with the line.
 4. The method of claim 1, wherein the line is rectilinear.
 5. A method, comprising: receiving, by a mobile device, a trigger definition from a user, the trigger definition specifying a user activity and an activity time associated with the user activity; determining a current geographic location of the mobile device; obtaining, from a server, location-based information based on the determined current geographic location and the trigger definition, the location-based information comprising information corresponding to one or more businesses located in a vicinity of the determined current geographic location, the one or more businesses including a business offering a venue for the user to perform the user activity; determining that a trigger event has occurred when a clock of the mobile device reaches the activity time; and in response to determining that the trigger event has occurred, providing the location-based information for display on the mobile device.
 6. The method of claim 5, wherein the venue is a restaurant, and the triggering event is a clock of the mobile device reaching a time associated with a meal.
 7. The method of claim 6, wherein the location-based information includes a location of the restaurant.
 8. The method of claim 7, wherein the location of the restaurant is displayed in association with another business when the user is waiting at the other business.
 9. A system comprising: one or more processors; and a non-transitory computer-readable medium storing computer program instructions operable to cause the one or more processors to perform operations comprising: determining, by a mobile device, an initial geographic location of the mobile device; determining, by the mobile device, a current geographic location of the mobile device; providing a line for display in a map on the mobile device, the line indicating a route traveled by the mobile device starting from the initial location to the current location; filtering, by the mobile device, information received from a server using a proximity condition, the information being related to a business and a location of the business, the proximity condition specifying that, in order to be displayed, the location of the business be on the route; and providing the filtered information for display along the line.
 10. The system of claim 9, wherein determining the current geographic location and providing the line for display occur while the mobile device moves.
 11. The system of claim 9, the operations comprising providing for display a representation of the businesses in association with the line.
 12. The system of claim 9, wherein the line is rectilinear.
 13. A system comprising: one or more processors; a non-transitory computer-readable medium storing computer program instructions operable to cause the one or more processors to perform operations comprising: receiving, by a mobile device, a trigger definition from a user, the trigger definition specifying a user activity and an activity time associated with the user activity; determining a current geographic location of the mobile device; obtaining, from a server, location-based information based on the determined current geographic location and the trigger definition, the location-based information comprising information corresponding to one or more businesses located in a vicinity of the determined current geographic location, the one or more businesses including a business offering a venue for the user to perform the user activity; determining that a trigger event has occurred when a clock of the mobile device reaches the activity time; and in response to determining that the trigger event has occurred, providing the location-based information for display on the mobile device.
 14. The system of claim 13, wherein the venue is a restaurant, and the triggering event is a clock of the mobile device reaching a time associated with a meal.
 15. The system of claim 14, wherein the location-based information includes a location of the restaurant.
 16. The system of claim 15, wherein the location of the restaurant is displayed in association with another business when the user is waiting at the other business.
 17. A non-transitory computer-readable medium storing computer program instructions operable to cause one or more processors to perform operations comprising: determining, by a mobile device, an initial geographic location of the mobile device; determining, by the mobile device, a current geographic location of the mobile device; providing a line for display in a map on the mobile device, the line indicating a route traveled by the mobile device starting from the initial location to the current location; filtering, by the mobile device, information received from a server using a proximity condition, the information being related to a business and a location of the business, the proximity condition specifying that, in order to be displayed, the location of the business be on the route; and providing the filtered information for display along the line.
 18. The non-transitory computer-readable medium of claim 17, wherein determining the current geographic location and providing the line for display occur while the mobile device moves.
 19. The non-transitory computer-readable medium of claim 17, the operations comprising providing for display a representation of the businesses in association with the line.
 20. The non-transitory computer-readable medium of claim 17, wherein the line is rectilinear.
 21. A non-transitory computer-readable medium storing computer program instructions operable to cause one or more processors to perform operations comprising: receiving, by a mobile device, a trigger definition from a user, the trigger definition specifying a user activity and an activity time associated with the user activity; determining a current geographic location of the mobile device; obtaining, from a server, location-based information based on the determined current geographic location and the trigger definition, the location-based information comprising information corresponding to one or more businesses located in a vicinity of the determined current geographic location, the one or more businesses including a business offering a venue for the user to perform the user activity; determining that a trigger event has occurred when a clock of the mobile device reaches the activity time; and in response to determining that the trigger event has occurred, providing the location-based information for display on the mobile device.
 22. The non-transitory computer-readable medium of claim 21, wherein the venue is a restaurant, and the triggering event is a clock of the mobile device reaching a time associated with a meal.
 23. The non-transitory computer-readable medium of claim 22, wherein the location-based information includes a location of the restaurant.
 24. The non-transitory computer-readable medium of claim 23, wherein the location of the restaurant is displayed in association with another business when the user is waiting at the other business. 